package my.edu.model.bills.purchase.service;

import com.baomidou.mybatisplus.extension.service.IService;
import my.edu.model.bills.purchase.entity.PurchaseReturnOrderDetail;
import my.edu.model.bills.purchase.entity.dto.PurchaseOrderSearchDTO;
import my.edu.model.bills.purchase.entity.dto.PurchaseReturnDTO;

import java.util.List;

public interface IPurchaseReturnOrderDetailService extends IService<PurchaseReturnOrderDetail> {
    void saveBatchByOrderDTO(PurchaseReturnDTO purchaseReturnDTO, Long noId);

    void updateBatchByOrderDTO(PurchaseReturnDTO purchaseReturnDTO, Long id);

    void removeByOrderId(List<Long> ids);

    List<PurchaseReturnOrderDetail> getReportList(PurchaseOrderSearchDTO purchaseOrderSearchDTO);
}
